#ifndef CARDCONTROL_H
#define CARDCONTROL_H

#include "card.h"

class CardControl
{
    int from;
    int to;
    Card * card;
    int status;
public:
    static const int ARRIVED = 3;
    static const int WAIT2 = 2;
    static const int WAIT1 = 1;
    static const int RUN = 0;
    CardControl();
    CardControl(int f, int t, Card * c, int s);
    int getStatus() const;
    int changeStatus();
    int getFrom() const;
    int changePosi();
    Card *getCard() const;
    int getTo() const;
    void setStatus(int value);
};

#endif // CARDCONTROL_H
